package com.mmall.service;

import com.github.pagehelper.PageInfo;
import com.mmall.commons.ServiceResponse;
import com.mmall.pojo.Shipping;

/**
 * @auther Mr.m
 * @date 2019/4/10-12:17
 */
public interface IShippingService {
    ServiceResponse add(Integer userId, Shipping shipping);

    ServiceResponse del(Integer userId, Integer shippingId);

    ServiceResponse update(Integer userId, Shipping shipping);

    ServiceResponse select(Integer userId, Integer shippingId);

    ServiceResponse<PageInfo> list(Integer userId, int pageNum, int pageSize);
}
